package com.amazon.ags.api.overlay;

public enum PopUpLocation
{
  public static final PopUpLocation DEFAULT_POPUP_LOCATION = TOP_RIGHT;

  static
  {
    BOTTOM_LEFT = new PopUpLocation("BOTTOM_LEFT", 2);
    BOTTOM_RIGHT = new PopUpLocation("BOTTOM_RIGHT", 3);
    TOP_CENTER = new PopUpLocation("TOP_CENTER", 4);
    BOTTOM_CENTER = new PopUpLocation("BOTTOM_CENTER", 5);
    PopUpLocation[] arrayOfPopUpLocation = new PopUpLocation[6];
    arrayOfPopUpLocation[0] = TOP_LEFT;
    arrayOfPopUpLocation[1] = TOP_RIGHT;
    arrayOfPopUpLocation[2] = BOTTOM_LEFT;
    arrayOfPopUpLocation[3] = BOTTOM_RIGHT;
    arrayOfPopUpLocation[4] = TOP_CENTER;
    arrayOfPopUpLocation[5] = BOTTOM_CENTER;
  }

  public static PopUpLocation getLocationFromString(String paramString, PopUpLocation paramPopUpLocation)
  {
    try
    {
      PopUpLocation localPopUpLocation = valueOf(paramString);
      return localPopUpLocation;
    }
    catch (IllegalArgumentException localIllegalArgumentException)
    {
      return paramPopUpLocation;
    }
    catch (NullPointerException localNullPointerException)
    {
    }
    return paramPopUpLocation;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.api.overlay.PopUpLocation
 * JD-Core Version:    0.6.2
 */